// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_SYS_FILE_POWER
// * CreateDate    : 2014-06-05 18:30:43
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:43
// * LastChanger   : 2014-06-05 18:30:43
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class SysFilePowerTable : TableInfo
    {
		public const string C_TableName = "SYS_FILE_POWER";
		
		public const string C_ID = "ID";
		public const string C_FILE_ID = "FILE_ID";
		public const string C_DUTY_NO = "DUTY_NO";
		public const string C_DUTY_NAME = "DUTY_NAME";
		public const string C_USER_NO = "USER_NO";
		public const string C_USER_NAME = "USER_NAME";
		
		public SysFilePowerTable()
        {
            _tableName = "SYS_FILE_POWER";
        }
		
		protected static SysFilePowerTable _current;
        public static SysFilePowerTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new SysFilePowerTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_FILE_ID, new ColumnInfo(C_FILE_ID,"FileId", false, typeof(string)));
            _current.Add(C_DUTY_NO, new ColumnInfo(C_DUTY_NO,"DutyNo", false, typeof(string)));
            _current.Add(C_DUTY_NAME, new ColumnInfo(C_DUTY_NAME,"DutyName", false, typeof(string)));
            _current.Add(C_USER_NO, new ColumnInfo(C_USER_NO,"UserNo", false, typeof(string)));
            _current.Add(C_USER_NAME, new ColumnInfo(C_USER_NAME,"UserName", false, typeof(string)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo FILE_ID
        {
            get { return this[C_FILE_ID]; }
        }
		
		public ColumnInfo DUTY_NO
        {
            get { return this[C_DUTY_NO]; }
        }
		
		public ColumnInfo DUTY_NAME
        {
            get { return this[C_DUTY_NAME]; }
        }
		
		public ColumnInfo USER_NO
        {
            get { return this[C_USER_NO]; }
        }
		
		public ColumnInfo USER_NAME
        {
            get { return this[C_USER_NAME]; }
        }
		
		
		
	}
}

